package org.aeon.fasttasks.core.annotation;

import org.aeon.fasttasks.core.Task;

import java.lang.annotation.*;

/**
 * @Date 2024/9/19 0019 11:55
 * @Author aeon
 * @Description 依赖任务注解
 */

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface DependentTasks {

    /**
     * 依赖的任务
     *
     * @return
     */
    Class<? extends Task>[] value();
}
